package com.td.framework.webmanager.domain;

/**
 * AppsysDsqbId entity.
 * 
 * @author MyEclipse Persistence Tools
 */

public class AppsysDsqbId implements java.io.Serializable {

	// Fields

	private Long id;
	private Long dlid;

	// Constructors

	/** default constructor */
	public AppsysDsqbId() {
	}

	/** full constructor */
	public AppsysDsqbId(Long id, Long dlid) {
		this.id = id;
		this.dlid = dlid;
	}

	// Property accessors

	public Long getId() {
		return this.id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public Long getDlid() {
		return this.dlid;
	}

	public void setDlid(Long dlid) {
		this.dlid = dlid;
	}

	public boolean equals(Object other) {
		if ((this == other))
			return true;
		if ((other == null))
			return false;
		if (!(other instanceof AppsysDsqbId))
			return false;
		AppsysDsqbId castOther = (AppsysDsqbId) other;

		return ((this.getId() == castOther.getId()) || (this.getId() != null
				&& castOther.getId() != null && this.getId().equals(
				castOther.getId())))
				&& ((this.getDlid() == castOther.getDlid()) || (this.getDlid() != null
						&& castOther.getDlid() != null && this.getDlid()
						.equals(castOther.getDlid())));
	}

	public int hashCode() {
		int result = 17;

		result = 37 * result + (getId() == null ? 0 : this.getId().hashCode());
		result = 37 * result
				+ (getDlid() == null ? 0 : this.getDlid().hashCode());
		return result;
	}

}